package com.zero.adapter.adapter;

import com.zero.adapter.adaptee.DigitalMonster;
import com.zero.adapter.target.PocketMonster;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public class PocketAdapter implements PocketMonster {
    private DigitalMonster digitalMonster;
    @Override
    public void battle() {
        digitalMonster.attack();
    }
}
